package First;
import java.util.ArrayList;
import java.util.List;

public class THIRD2 {
    class Building {
        private String name;

        public Building(String name) {
            this.name = name;
        }
    }

    class Course {
        private String name;

        public Course(String name) {
            this.name = name;
        }
    }

    class College {
        private List<Building> buildings;
        private List<Course> courses;

        public College() {
            buildings = new ArrayList<>();
            courses = new ArrayList<>();
        }

        public void addBuilding(Building building) {
            buildings.add(building);
        }

        public void addCourse(Course course) {
            courses.add(course);
        }
    }
}

